#Makefile for libfreegllogo.so

CC=gcc
LIBFILE=libdata_struct.so
INCLUDE=./include
LIB=./

SOURCE=data_struct.c
CFLAGS= -fPIC -shared -O2 -Wall -I$(INCLUDE) -L$(LIB) 

all:$(LIBFILE)

$(LIBFILE):$(SOURCE)
	$(CC) $(SOURCE) $(CFLAGS) -o $(LIBFILE)
	cp $(LIBFILE) ../libs -f
	 
clean:
	rm -f *.so $(LIBFILE)
